package org.admanager.mapping.plugin.diagram.part;

import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

import org.admanager.mapping.plugin.diagram.edit.parts.ComponentComponentCompartmentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentMappingEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentMappingSourceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentMappingTargetEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentReferenceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentReferenceMappingEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentReferenceMappingSourceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentReferenceMappingTargetEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentServiceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentServiceMappingEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentServiceMappingSourceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ComponentServiceMappingTargetEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.CompositeCompositeCompartmentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.CompositeEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.CompositeMappingEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.CompositeMappingSourceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.CompositeMappingTargetEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.DocumentRootDocumentRootCompartmentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.DocumentRootEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponent2EditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponentPComponentCompartmentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponentPInnerComponentCompartmentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponentReference2EditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponentReferenceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponentService2EditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PComponentServiceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PCompositeEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PCompositePCompositeCompartmentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PReferenceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PServiceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PatternEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.PatternPatternCompartmentEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ReferenceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ReferenceMappingEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ReferenceMappingSourceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ReferenceMappingTargetEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.RootMappingEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ServiceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ServiceMappingEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ServiceMappingSourceEditPart;
import org.admanager.mapping.plugin.diagram.edit.parts.ServiceMappingTargetEditPart;
import org.admanager.mapping.plugin.diagram.providers.SOADManagementMetamodelElementTypes;
import org.admanager.soadmanagement.plugin.soadmanagement.Component;
import org.admanager.soadmanagement.plugin.soadmanagement.ComponentMapping;
import org.admanager.soadmanagement.plugin.soadmanagement.ComponentReference;
import org.admanager.soadmanagement.plugin.soadmanagement.ComponentReferenceMapping;
import org.admanager.soadmanagement.plugin.soadmanagement.ComponentService;
import org.admanager.soadmanagement.plugin.soadmanagement.ComponentServiceMapping;
import org.admanager.soadmanagement.plugin.soadmanagement.Composite;
import org.admanager.soadmanagement.plugin.soadmanagement.CompositeMapping;
import org.admanager.soadmanagement.plugin.soadmanagement.DocumentRoot;
import org.admanager.soadmanagement.plugin.soadmanagement.PComponent;
import org.admanager.soadmanagement.plugin.soadmanagement.PComponentReference;
import org.admanager.soadmanagement.plugin.soadmanagement.PComponentService;
import org.admanager.soadmanagement.plugin.soadmanagement.PComposite;
import org.admanager.soadmanagement.plugin.soadmanagement.PElement;
import org.admanager.soadmanagement.plugin.soadmanagement.PReference;
import org.admanager.soadmanagement.plugin.soadmanagement.PService;
import org.admanager.soadmanagement.plugin.soadmanagement.Pattern;
import org.admanager.soadmanagement.plugin.soadmanagement.Reference;
import org.admanager.soadmanagement.plugin.soadmanagement.ReferenceMapping;
import org.admanager.soadmanagement.plugin.soadmanagement.RootMapping;
import org.admanager.soadmanagement.plugin.soadmanagement.Service;
import org.admanager.soadmanagement.plugin.soadmanagement.ServiceMapping;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.gmf.runtime.notation.View;

/**
 * @generated
 */
public class SOADManagementMetamodelDiagramUpdater {

	/**
	 * @generated
	 */
	public static boolean isShortcutOrphaned(View view) {
		return !view.isSetElement() || view.getElement() == null
				|| view.getElement().eIsProxy();
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getSemanticChildren(
			View view) {
		switch (SOADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case RootMappingEditPart.VISUAL_ID:
			return getRootMapping_1000SemanticChildren(view);
		case DocumentRootDocumentRootCompartmentEditPart.VISUAL_ID:
			return getDocumentRootDocumentRootCompartment_7008SemanticChildren(view);
		case CompositeCompositeCompartmentEditPart.VISUAL_ID:
			return getCompositeCompositeCompartment_7009SemanticChildren(view);
		case ComponentComponentCompartmentEditPart.VISUAL_ID:
			return getComponentComponentCompartment_7007SemanticChildren(view);
		case PatternPatternCompartmentEditPart.VISUAL_ID:
			return getPatternPatternCompartment_7010SemanticChildren(view);
		case PComponentPComponentCompartmentEditPart.VISUAL_ID:
			return getPComponentPComponentCompartment_7011SemanticChildren(view);
		case PCompositePCompositeCompartmentEditPart.VISUAL_ID:
			return getPCompositePCompositeCompartment_7012SemanticChildren(view);
		case PComponentPInnerComponentCompartmentEditPart.VISUAL_ID:
			return getPComponentPInnerComponentCompartment_7013SemanticChildren(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getRootMapping_1000SemanticChildren(
			View view) {
		if (!view.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		RootMapping modelElement = (RootMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponentreferencemapping()
				.iterator(); it.hasNext();) {
			ComponentReferenceMapping childElement = (ComponentReferenceMapping) it
					.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentReferenceMappingEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getComponentservicemapping()
				.iterator(); it.hasNext();) {
			ComponentServiceMapping childElement = (ComponentServiceMapping) it
					.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentServiceMappingEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getCompositemapping().iterator(); it
				.hasNext();) {
			CompositeMapping childElement = (CompositeMapping) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == CompositeMappingEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getComponentmapping().iterator(); it
				.hasNext();) {
			ComponentMapping childElement = (ComponentMapping) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentMappingEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getServicemapping().iterator(); it
				.hasNext();) {
			ServiceMapping childElement = (ServiceMapping) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ServiceMappingEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getReferencemapping().iterator(); it
				.hasNext();) {
			ReferenceMapping childElement = (ReferenceMapping) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ReferenceMappingEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		{
			DocumentRoot childElement = modelElement.getScacomposite();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == DocumentRootEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		{
			Pattern childElement = modelElement.getSoapattern();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PatternEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getDocumentRootDocumentRootCompartment_7008SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		DocumentRoot modelElement = (DocumentRoot) containerView.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComposite().iterator(); it
				.hasNext();) {
			Composite childElement = (Composite) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == CompositeEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getCompositeCompositeCompartment_7009SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Composite modelElement = (Composite) containerView.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponent().iterator(); it
				.hasNext();) {
			Component childElement = (Component) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getService().iterator(); it
				.hasNext();) {
			Service childElement = (Service) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ServiceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getReference().iterator(); it
				.hasNext();) {
			Reference childElement = (Reference) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ReferenceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getComponentComponentCompartment_7007SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Component modelElement = (Component) containerView.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getReference().iterator(); it
				.hasNext();) {
			ComponentReference childElement = (ComponentReference) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentReferenceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getService().iterator(); it
				.hasNext();) {
			ComponentService childElement = (ComponentService) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentServiceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getPatternPatternCompartment_7010SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Pattern modelElement = (Pattern) containerView.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponentEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PCompositeEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getPComponentPComponentCompartment_7011SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PComponent modelElement = (PComponent) containerView.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getService().iterator(); it
				.hasNext();) {
			PComponentService childElement = (PComponentService) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponentServiceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getReference().iterator(); it
				.hasNext();) {
			PComponentReference childElement = (PComponentReference) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponentReferenceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getPCompositePCompositeCompartment_7012SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PComposite modelElement = (PComposite) containerView.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponent().iterator(); it
				.hasNext();) {
			PComponent childElement = (PComponent) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getService().iterator(); it
				.hasNext();) {
			PService childElement = (PService) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PServiceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getReference().iterator(); it
				.hasNext();) {
			PReference childElement = (PReference) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PReferenceEditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/getPComponentPInnerComponentCompartment_7013SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PComponent modelElement = (PComponent) containerView.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getService().iterator(); it
				.hasNext();) {
			PComponentService childElement = (PComponentService) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponentService2EditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getReference().iterator(); it
				.hasNext();) {
			PComponentReference childElement = (PComponentReference) it.next();
			int visualID = SOADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponentReference2EditPart.VISUAL_ID) {
				result.add(new SOADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getContainedLinks(
			View view) {
		switch (SOADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case RootMappingEditPart.VISUAL_ID:
			return getRootMapping_1000ContainedLinks(view);
		case ComponentReferenceMappingEditPart.VISUAL_ID:
			return getComponentReferenceMapping_2010ContainedLinks(view);
		case ComponentServiceMappingEditPart.VISUAL_ID:
			return getComponentServiceMapping_2011ContainedLinks(view);
		case CompositeMappingEditPart.VISUAL_ID:
			return getCompositeMapping_2012ContainedLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2013ContainedLinks(view);
		case ServiceMappingEditPart.VISUAL_ID:
			return getServiceMapping_2014ContainedLinks(view);
		case ReferenceMappingEditPart.VISUAL_ID:
			return getReferenceMapping_2015ContainedLinks(view);
		case DocumentRootEditPart.VISUAL_ID:
			return getDocumentRoot_2016ContainedLinks(view);
		case PatternEditPart.VISUAL_ID:
			return getPattern_2017ContainedLinks(view);
		case CompositeEditPart.VISUAL_ID:
			return getComposite_3016ContainedLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3011ContainedLinks(view);
		case ComponentReferenceEditPart.VISUAL_ID:
			return getComponentReference_3009ContainedLinks(view);
		case ComponentServiceEditPart.VISUAL_ID:
			return getComponentService_3008ContainedLinks(view);
		case ServiceEditPart.VISUAL_ID:
			return getService_3014ContainedLinks(view);
		case ReferenceEditPart.VISUAL_ID:
			return getReference_3015ContainedLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3017ContainedLinks(view);
		case PComponentServiceEditPart.VISUAL_ID:
			return getPComponentService_3018ContainedLinks(view);
		case PComponentReferenceEditPart.VISUAL_ID:
			return getPComponentReference_3019ContainedLinks(view);
		case PCompositeEditPart.VISUAL_ID:
			return getPComposite_3020ContainedLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3021ContainedLinks(view);
		case PComponentService2EditPart.VISUAL_ID:
			return getPComponentService_3022ContainedLinks(view);
		case PComponentReference2EditPart.VISUAL_ID:
			return getPComponentReference_3023ContainedLinks(view);
		case PServiceEditPart.VISUAL_ID:
			return getPService_3024ContainedLinks(view);
		case PReferenceEditPart.VISUAL_ID:
			return getPReference_3025ContainedLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingLinks(
			View view) {
		switch (SOADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case ComponentReferenceMappingEditPart.VISUAL_ID:
			return getComponentReferenceMapping_2010IncomingLinks(view);
		case ComponentServiceMappingEditPart.VISUAL_ID:
			return getComponentServiceMapping_2011IncomingLinks(view);
		case CompositeMappingEditPart.VISUAL_ID:
			return getCompositeMapping_2012IncomingLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2013IncomingLinks(view);
		case ServiceMappingEditPart.VISUAL_ID:
			return getServiceMapping_2014IncomingLinks(view);
		case ReferenceMappingEditPart.VISUAL_ID:
			return getReferenceMapping_2015IncomingLinks(view);
		case DocumentRootEditPart.VISUAL_ID:
			return getDocumentRoot_2016IncomingLinks(view);
		case PatternEditPart.VISUAL_ID:
			return getPattern_2017IncomingLinks(view);
		case CompositeEditPart.VISUAL_ID:
			return getComposite_3016IncomingLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3011IncomingLinks(view);
		case ComponentReferenceEditPart.VISUAL_ID:
			return getComponentReference_3009IncomingLinks(view);
		case ComponentServiceEditPart.VISUAL_ID:
			return getComponentService_3008IncomingLinks(view);
		case ServiceEditPart.VISUAL_ID:
			return getService_3014IncomingLinks(view);
		case ReferenceEditPart.VISUAL_ID:
			return getReference_3015IncomingLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3017IncomingLinks(view);
		case PComponentServiceEditPart.VISUAL_ID:
			return getPComponentService_3018IncomingLinks(view);
		case PComponentReferenceEditPart.VISUAL_ID:
			return getPComponentReference_3019IncomingLinks(view);
		case PCompositeEditPart.VISUAL_ID:
			return getPComposite_3020IncomingLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3021IncomingLinks(view);
		case PComponentService2EditPart.VISUAL_ID:
			return getPComponentService_3022IncomingLinks(view);
		case PComponentReference2EditPart.VISUAL_ID:
			return getPComponentReference_3023IncomingLinks(view);
		case PServiceEditPart.VISUAL_ID:
			return getPService_3024IncomingLinks(view);
		case PReferenceEditPart.VISUAL_ID:
			return getPReference_3025IncomingLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingLinks(
			View view) {
		switch (SOADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case ComponentReferenceMappingEditPart.VISUAL_ID:
			return getComponentReferenceMapping_2010OutgoingLinks(view);
		case ComponentServiceMappingEditPart.VISUAL_ID:
			return getComponentServiceMapping_2011OutgoingLinks(view);
		case CompositeMappingEditPart.VISUAL_ID:
			return getCompositeMapping_2012OutgoingLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2013OutgoingLinks(view);
		case ServiceMappingEditPart.VISUAL_ID:
			return getServiceMapping_2014OutgoingLinks(view);
		case ReferenceMappingEditPart.VISUAL_ID:
			return getReferenceMapping_2015OutgoingLinks(view);
		case DocumentRootEditPart.VISUAL_ID:
			return getDocumentRoot_2016OutgoingLinks(view);
		case PatternEditPart.VISUAL_ID:
			return getPattern_2017OutgoingLinks(view);
		case CompositeEditPart.VISUAL_ID:
			return getComposite_3016OutgoingLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3011OutgoingLinks(view);
		case ComponentReferenceEditPart.VISUAL_ID:
			return getComponentReference_3009OutgoingLinks(view);
		case ComponentServiceEditPart.VISUAL_ID:
			return getComponentService_3008OutgoingLinks(view);
		case ServiceEditPart.VISUAL_ID:
			return getService_3014OutgoingLinks(view);
		case ReferenceEditPart.VISUAL_ID:
			return getReference_3015OutgoingLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3017OutgoingLinks(view);
		case PComponentServiceEditPart.VISUAL_ID:
			return getPComponentService_3018OutgoingLinks(view);
		case PComponentReferenceEditPart.VISUAL_ID:
			return getPComponentReference_3019OutgoingLinks(view);
		case PCompositeEditPart.VISUAL_ID:
			return getPComposite_3020OutgoingLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3021OutgoingLinks(view);
		case PComponentService2EditPart.VISUAL_ID:
			return getPComponentService_3022OutgoingLinks(view);
		case PComponentReference2EditPart.VISUAL_ID:
			return getPComponentReference_3023OutgoingLinks(view);
		case PServiceEditPart.VISUAL_ID:
			return getPService_3024OutgoingLinks(view);
		case PReferenceEditPart.VISUAL_ID:
			return getPReference_3025OutgoingLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getRootMapping_1000ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentReferenceMapping_2010ContainedLinks(
			View view) {
		ComponentReferenceMapping modelElement = (ComponentReferenceMapping) view
				.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentReferenceMapping_Target_4021(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentReferenceMapping_Source_4022(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentServiceMapping_2011ContainedLinks(
			View view) {
		ComponentServiceMapping modelElement = (ComponentServiceMapping) view
				.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentServiceMapping_Source_4020(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentServiceMapping_Target_4024(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getCompositeMapping_2012ContainedLinks(
			View view) {
		CompositeMapping modelElement = (CompositeMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_CompositeMapping_Target_4013(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_CompositeMapping_Source_4023(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentMapping_2013ContainedLinks(
			View view) {
		ComponentMapping modelElement = (ComponentMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4018(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4019(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getServiceMapping_2014ContainedLinks(
			View view) {
		ServiceMapping modelElement = (ServiceMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ServiceMapping_Source_4014(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ServiceMapping_Target_4015(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getReferenceMapping_2015ContainedLinks(
			View view) {
		ReferenceMapping modelElement = (ReferenceMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ReferenceMapping_Target_4016(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ReferenceMapping_Source_4017(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getDocumentRoot_2016ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPattern_2017ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComposite_3016ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponent_3011ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentReference_3009ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentService_3008ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getService_3014ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getReference_3015ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponent_3017ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentService_3018ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentReference_3019ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComposite_3020ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponent_3021ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentService_3022ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentReference_3023ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPService_3024ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPReference_3025ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentReferenceMapping_2010IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentServiceMapping_2011IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getCompositeMapping_2012IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentMapping_2013IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getServiceMapping_2014IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getReferenceMapping_2015IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getDocumentRoot_2016IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPattern_2017IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComposite_3016IncomingLinks(
			View view) {
		Composite modelElement = (Composite) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_CompositeMapping_Source_4023(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponent_3011IncomingLinks(
			View view) {
		Component modelElement = (Component) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Source_4019(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentReference_3009IncomingLinks(
			View view) {
		ComponentReference modelElement = (ComponentReference) view
				.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentReferenceMapping_Source_4022(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentService_3008IncomingLinks(
			View view) {
		ComponentService modelElement = (ComponentService) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentServiceMapping_Source_4020(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getService_3014IncomingLinks(
			View view) {
		Service modelElement = (Service) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ServiceMapping_Source_4014(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getReference_3015IncomingLinks(
			View view) {
		Reference modelElement = (Reference) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ReferenceMapping_Source_4017(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponent_3017IncomingLinks(
			View view) {
		PComponent modelElement = (PComponent) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4018(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentService_3018IncomingLinks(
			View view) {
		PComponentService modelElement = (PComponentService) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentServiceMapping_Target_4024(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentReference_3019IncomingLinks(
			View view) {
		PComponentReference modelElement = (PComponentReference) view
				.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentReferenceMapping_Target_4021(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComposite_3020IncomingLinks(
			View view) {
		PComposite modelElement = (PComposite) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_CompositeMapping_Target_4013(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponent_3021IncomingLinks(
			View view) {
		PComponent modelElement = (PComponent) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4018(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentService_3022IncomingLinks(
			View view) {
		PComponentService modelElement = (PComponentService) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentServiceMapping_Target_4024(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentReference_3023IncomingLinks(
			View view) {
		PComponentReference modelElement = (PComponentReference) view
				.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentReferenceMapping_Target_4021(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPService_3024IncomingLinks(
			View view) {
		PService modelElement = (PService) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ServiceMapping_Target_4015(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPReference_3025IncomingLinks(
			View view) {
		PReference modelElement = (PReference) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ReferenceMapping_Target_4016(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentReferenceMapping_2010OutgoingLinks(
			View view) {
		ComponentReferenceMapping modelElement = (ComponentReferenceMapping) view
				.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentReferenceMapping_Target_4021(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentReferenceMapping_Source_4022(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentServiceMapping_2011OutgoingLinks(
			View view) {
		ComponentServiceMapping modelElement = (ComponentServiceMapping) view
				.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentServiceMapping_Source_4020(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentServiceMapping_Target_4024(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getCompositeMapping_2012OutgoingLinks(
			View view) {
		CompositeMapping modelElement = (CompositeMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_CompositeMapping_Target_4013(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_CompositeMapping_Source_4023(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentMapping_2013OutgoingLinks(
			View view) {
		ComponentMapping modelElement = (ComponentMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4018(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4019(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getServiceMapping_2014OutgoingLinks(
			View view) {
		ServiceMapping modelElement = (ServiceMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ServiceMapping_Source_4014(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ServiceMapping_Target_4015(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getReferenceMapping_2015OutgoingLinks(
			View view) {
		ReferenceMapping modelElement = (ReferenceMapping) view.getElement();
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ReferenceMapping_Target_4016(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ReferenceMapping_Source_4017(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getDocumentRoot_2016OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPattern_2017OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComposite_3016OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponent_3011OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentReference_3009OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getComponentService_3008OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getService_3014OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getReference_3015OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponent_3017OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentService_3018OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentReference_3019OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComposite_3020OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponent_3021OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentService_3022OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPComponentReference_3023OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPService_3024OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getPReference_3025OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_CompositeMapping_Target_4013(
			PComposite target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getCompositeMapping_Target()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.CompositeMappingTarget_4013,
						CompositeMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ServiceMapping_Source_4014(
			Service target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getServiceMapping_Source()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ServiceMappingSource_4014,
						ServiceMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ServiceMapping_Target_4015(
			PService target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getServiceMapping_Target()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ServiceMappingTarget_4015,
						ServiceMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ReferenceMapping_Target_4016(
			PReference target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getReferenceMapping_Target()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ReferenceMappingTarget_4016,
						ReferenceMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ReferenceMapping_Source_4017(
			Reference target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getReferenceMapping_Source()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ReferenceMappingSource_4017,
						ReferenceMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4018(
			PComponent target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getComponentMapping_Target()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ComponentMappingTarget_4018,
						ComponentMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentMapping_Source_4019(
			Component target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getComponentMapping_Source()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ComponentMappingSource_4019,
						ComponentMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentServiceMapping_Source_4020(
			ComponentService target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getComponentServiceMapping_Source()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ComponentServiceMappingSource_4020,
						ComponentServiceMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentReferenceMapping_Target_4021(
			PComponentReference target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getComponentReferenceMapping_Target()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ComponentReferenceMappingTarget_4021,
						ComponentReferenceMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentReferenceMapping_Source_4022(
			ComponentReference target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getComponentReferenceMapping_Source()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ComponentReferenceMappingSource_4022,
						ComponentReferenceMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_CompositeMapping_Source_4023(
			Composite target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getCompositeMapping_Source()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.CompositeMappingSource_4023,
						CompositeMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentServiceMapping_Target_4024(
			PComponentService target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == org.admanager.soadmanagement.plugin.soadmanagement.soadmanagementPackage.eINSTANCE
					.getComponentServiceMapping_Target()) {
				result.add(new SOADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						SOADManagementMetamodelElementTypes.ComponentServiceMappingTarget_4024,
						ComponentServiceMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_CompositeMapping_Target_4013(
			CompositeMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		PComposite destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.CompositeMappingTarget_4013,
				CompositeMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ServiceMapping_Source_4014(
			ServiceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Service destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(source,
				destination,
				SOADManagementMetamodelElementTypes.ServiceMappingSource_4014,
				ServiceMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ServiceMapping_Target_4015(
			ServiceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		PService destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(source,
				destination,
				SOADManagementMetamodelElementTypes.ServiceMappingTarget_4015,
				ServiceMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ReferenceMapping_Target_4016(
			ReferenceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		PReference destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ReferenceMappingTarget_4016,
				ReferenceMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ReferenceMapping_Source_4017(
			ReferenceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Reference destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ReferenceMappingSource_4017,
				ReferenceMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4018(
			ComponentMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		PComponent destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ComponentMappingTarget_4018,
				ComponentMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4019(
			ComponentMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Component destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ComponentMappingSource_4019,
				ComponentMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentServiceMapping_Source_4020(
			ComponentServiceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		ComponentService destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ComponentServiceMappingSource_4020,
				ComponentServiceMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentReferenceMapping_Target_4021(
			ComponentReferenceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		PComponentReference destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ComponentReferenceMappingTarget_4021,
				ComponentReferenceMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentReferenceMapping_Source_4022(
			ComponentReferenceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		ComponentReference destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ComponentReferenceMappingSource_4022,
				ComponentReferenceMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_CompositeMapping_Source_4023(
			CompositeMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		Composite destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.CompositeMappingSource_4023,
				CompositeMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentServiceMapping_Target_4024(
			ComponentServiceMapping source) {
		LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.mapping.plugin.diagram.part.SOADManagementMetamodelLinkDescriptor]*/();
		PComponentService destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new SOADManagementMetamodelLinkDescriptor(
				source,
				destination,
				SOADManagementMetamodelElementTypes.ComponentServiceMappingTarget_4024,
				ComponentServiceMappingTargetEditPart.VISUAL_ID));
		return result;
	}

}
